package com.xkstream.client.presenter.kt

import com.xkstream.client.base.BaseData
import com.xkstream.client.base.BasePresenter
import com.xkstream.client.base.BasePresenterImpl
import com.xkstream.client.base.BaseView
import com.xkstream.client.entity.FirVersion
import com.xkstream.client.entity.Game
import com.xkstream.client.entity.kt.MessagesData

/**
 * Created by xiaoyi on 2017-11-3.
 */
interface AnchorStateContract {
    interface Presenter : BasePresenter {
        fun getUnreadMessage(params: Map<String, String>)

        fun anchorOn(params: Map<String, String>)
        
        fun checkVersion()
    }

    interface View : BaseView<Presenter> {
        fun showUnReadMessage(data: BaseData<MessagesData>)
        fun showError(message: String?)
        fun showAnchorOnResult(data: BaseData<Any?>)
        fun showFirVersion(version: FirVersion?)
}
}